<%@ page language="java"import="java.sql.*" errorPage="error.jsp" pageEncoding="UTF-8"%>
     
     <%
          				String User="root";
                        String Pass="123456";
                        String Host="localhost";
                        String Port="3306";
                        
     					String user="root";
                        String pswd="123456";
                        String url = "jdbc:mysql://127.0.0.1:3306/rpms";      
							
                    Class.forName("com.mysql.jdbc.Driver");     
                    //DriverManager.getConnection(String   url,   String   user,   String   password)    
                    Connection con=DriverManager.getConnection(url, user, pswd);       
                                   
   %>
